using System;

/*
 3.3.2. HINFO RDATA format

    +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
    /                      CPU                      /
    +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
    /                       OS                      /
    +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+

where:

CPU             A <character-string> which specifies the CPU type.

OS              A <character-string> which specifies the operating
                system type.

Standard values for CPU and OS can be found in [RFC-1010].

HINFO records are used to acquire general information about a host.  The
main use is for protocols such as FTP that can use special procedures
when talking between machines or operating systems of the same type.
 */

namespace System.Net.DnsToolkit.Packet.Records
{
	public class RecordHINFO : IRecord
	{
        public string CPU { get; set; }
        public string OS { get; set; }

        public QTypeEnum QType {
            get {
                return QTypeEnum.HINFO;
            }
        }
 public override string ToString()
		{
			return string.Format("CPU={0} OS={1}",CPU,OS);
		}

	}
}
